﻿namespace Domain.Mail
{
    public class MailSettings
    {
        private string fromAddress;
        private string fromDisplayName;
        private string smtpHost;
        private int smtpPort;
        private string smtpUsername;
        private string smtpPassword;
        private bool enableSsl;

        public MailSettings()
        {
            smtpHost = "localhost";
            smtpPort = 25;
        }

        public string FromAddress
        {
            get { return fromAddress; }
            set { fromAddress = value; }
        }

        public string FromDisplayName
        {
            get { return fromDisplayName; }
            set { fromDisplayName = value; }
        }

        public string SmtpHost
        {
            get { return smtpHost; }
            set { smtpHost = value; }
        }

        public int SmtpPort
        {
            get { return smtpPort; }
            set { smtpPort = value; }
        }

        public string SmtpUsername
        {
            get { return smtpUsername; }
            set { smtpUsername = value; }
        }

        public string SmtpPassword
        {
            get { return smtpPassword; }
            set { smtpPassword = value; }
        }

        public bool EnableSsl
        {
            get { return enableSsl; }
            set { enableSsl = value; }
        }
    }
}
